﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Chinook.Facade.Messaging;
using Chinook.Facade;

namespace Chinook.Web.DataGrid
{
    public partial class Pagenation : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            AddExternalJavaScript("js/Jquery/flexigrid.pack.js");
            IAlbumAppService albumService = ChinookWebFactory.AlbumAppService;
            var result = albumService.SearchAlbum(new AlbumSearchRequest() { PageSize = 25, PageIndex = 1 });
            //empService.get
            //var results = albumService.GetMany(a => a.UnitsInStock > 400 == 0);
        }
    }
}
